//
//  77ClubBaseViewController.swift
//  77Club
//
//  Created by Apple on 2024/8/26.
//

import UIKit

@objc protocol ClubBaseViewControllerProtocol {
    func controller_identification() -> String
    func controller_backImage() -> UIImage?
}

extension UIViewController: ClubBaseViewControllerProtocol {
    
    func controller_identification() -> String {
        return NSStringFromClass(self.classForCoder)
    }
    
    func controller_backImage() -> UIImage? {
        UIImage(named: "")
    }
    
}

class ClubBaseViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        navigation.bar.isHidden = true
        view.backgroundColor = "#F7F8FA".toColor
    }
    
    
    @objc func clickBackButton(){
        
        self.navigationController?.popViewController(animated: true)
    }
}
